package com.sinaapp.gavinzhang.GSpider.examples;

import com.sinaapp.gavinzhang.GSpider.core.AbstractPageProcessor;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

/**
 * Created by gavin on 15-8-2.
 */
public class ZhilianzhaopinPageProcessor extends AbstractPageProcessor {
    private static int i = 0;
    @Override
    public void dispose(Document html, String webUrl) {
        System.out.println(i++ +"  "+webUrl);
    }

    @Override
    public Elements preDispose(Document html) {
        return html.select(".pagesDown");
    }
}
